@import './vars.less';

html {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}
body{
  background: #F2F2F2;
}
a {
  color: @color-primary;
}
img {
  max-width: 100%;
}
section {
  padding: 10px;
}
#header,#footer{
  position: absolute;
  left: 0;
  right: 0;
  z-index: 10;
}
#header{
  top: 0;
}
#footer{
  bottom: 0;
  background: #fff;
  text-align: center;
}
.container{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  height: auto;
  min-width: 320px;
  max-width: 480px;
  margin: 0 auto;
}
.iconfont {
  font-size: 1.2rem;
}
.center{
  text-align: center;
}
.text-right {
  text-align:right;
}
.clearfix:after{content:""; display:block; visibility:hidden; height:0; clear:both;}
.infinite-container{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: scroll;
  height: auto;
  -webkit-overflow-scrolling: touch;
  &.visual-content {
    top: 48px;
  }
}
.maxlen, .mu-item-title{
  overflow: hidden;
  text-overflow:ellipsis;
  white-space: normal;
}
.fl{
  float: left;
}
.fr{
  float: right;
}
.clear {
  overflow: auto;
}
.mt10 {
  margin-top: 10px;
}
.mt6 {
  margin-top: 6px;
}
.mg10 {
  margin: 10px;
}
.mr10 {
  margin-right: 10px;
}
.mb10 {
  margin-bottom: 10px;
}
.mt20{
  margin-top: 20px;
}
.pd10{
  padding: 10px;
}
.pr10 {
  padding-right: 10px;
}
.pb10 {
  padding-bottom: 10px;
}
.pl10 {
  padding-left: 10px;
}
.pd20{
  padding: 20px;
}
.t1 {
  color: @color-primary;
}
.t2 {
  color: #EA2100;
}
.t3{
  color: #999;
}
.t4 {
  color: #3AAA20;
}
.t5{
  color: @color-price;
}
.t6 {
  color:#f00;
}
.t7 {
  color: @color-blue;
}
.t8{
  color: #666;
}
.t9 {
  color: #fff;
}
.f12 {
  font-size: .8em;
}
.f14 {
  font-size: 1em;
}
.f16 {
  font-size: 1.1em;
}
.f20 {
  font-size: 1.2em;
}
.re {
  position: relative;
}
.no-data{
  color: #ddd;
  text-align: center;
  padding: 40px 0 60px;
}
.bgwhite{
  background: #fff;
}
.inline-block {
  display: inline-block;
}
ul,li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.text-warning {
  color: #FF7230;
  background: #FFFDCE;
  padding: 10px 0;
  font-size: 12px;
  text-align: center;
}
.text-info {
  color: @color-primary;
  background: #FFFBEC;
  padding: 10px;
  text-align: center;
}
.mu-toast {
  border-radius: 0;
  top: 0;
  text-align: center;
}
.icon-arrowright {
  color: #ddd;
  font-size: .8em;
}
.icon-search {
  margin-right: 10px;
}
.mu-item-right {
  width: auto!important;
}
a.gray-link {
  color: #999;
}
.gray-scale {
  filter: grayScale(100%);
}

.submit-btn {
  line-height: 44px;
  height: 44px;
  font-size: 16px;
}
.delete-btn {
  background: #FFF0F0;
  border: 1px solid #f7a5a5;
  color: #f24242;
}

// register
.vcode-border {
  border-left:1px solid #ddd;
  margin-top: 6px;
}
.tips-warning{
  background: @color-info-bg;
  color: @color-info;
  padding: 10px;
}
.tips-error{
  background: #fdd;
  color: #f00;
  padding: 10px;
}
.tips-success{
  background-color:#dfd;
  color: #2CBE4E;
  padding: 10px;
}
.tips-disabled{
  background: #ddd;
  color: #999;
  padding: 10px;
}
.not-found {
  background: url(../../assets/icon_yygh_zwsj.png) no-repeat center center;
  background-size: 84px auto;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  >div {
    color: #999;
    margin-top: 140px;
    padding-bottom: 20px;
  }
}
.mu-list {
  padding: 0;
}
.mu-menu-item-wrapper.active {
  color: @color-primary;
}
// doctor detail
.content-box {
  overflow: hidden;
  position: relative;
  background: #fff;
  .content-title{
    color: #666;
    border-bottom: 1px solid @color-border;
    padding:.8em 0;
    >div {
      border-left:4px solid #4CD98D;
      padding-left: 1em;
    }
  }
  .arrow {
    position: absolute;
    top: 10px;
    right: 10px;
  }
}
// top-search-bar
.top-search-bar {
  z-index: 999;
  padding: 12px;
  .col-10 {
    padding-top: 8px;
  }
  .search-close {
    position: absolute;
    top: 18px;
    right: 1em;
  }
}
.appoint-title {
  background:linear-gradient(#00BA71,#18AF60);
}
.appoint-dialog {
  background: #fff;
  width: 88%;
  min-height: 260px;
  .mu-dialog-body{
    border-radius: 8px;
  }
  .dialog-header{
    // height: 90px;
    color: #fff;
    text-align: center;
    width: 100%;
    padding-bottom: 10px;
    h3{
      font-size: 16px;
      font-weight: normal;
      margin:0;
    }
    .tabs{
      text-align: center;
      font-size: 0;
      >span{
        display: inline-block;
        font-size: 16px;
        height: 30px;
        line-height: 30px;
        padding: 0 30px;
        background: #4CD98D;
        &.active{
          background: #D3F9E4;
          color: #3AAA20;
        }
      }
    }
  }
  .dialog-main {
    background: #fff;
  }
  .col {
    margin-top: 10px;
  }
  .appoint-select {
    display: inline-block;
    width: 90%;
    background: #EAF8F0;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #00BA71;
    border-radius: 4px;
    &:hover{
      background: #3CB774;
      color: #fff;
    }
    &.disabled {
      color: #ccc;
      background: #efefef;
    }

  }
}

.visual-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
}
.hide {
  display: none;
}
.pay-bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 999;
  .fl {
    line-height: 44px;
    text-indent: 1em;
  }
  .fr {
    width: 150px;
  }
}
.pd40{
  padding:0 40px;
}
.mu-text-field-input.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}
.wrapword {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
input {
  outline: none;
    box-shadow:0px 0px 0px rgba(0,0,0,0);
    -webkit-appearance:none;
}
.list-right-title {
  position:absolute;
  right:.3em;
  top:.8em;
  .iconfont{
    vertical-align:middle;
  }
}
//个别定制按钮样式
.borderBtn{
  border:1px solid @color-primary;
  border-radius: 10px;
  padding:3px 6px;
  background-color: white;
  color:@color-primary;
}
.circleBtn{
  background-color: #18AF60;
  color:white;
  padding:5px 20px;
  border-radius: 15px;
  display:inline-block;
}
.mu-raised-button{
  &.no-shadow{
    box-shadow: none;
  }
  &.small {
    height: 30px;
    line-height: 30px;
    font-size: 13px;
    min-width: 64px;
  }
  &.second {
    background: #F9ECDF;
    color: #F9A75A;
    border:1px solid #F9A75A;
  }
  &.reverse {
    background: #fff;
    border: 1px solid @color-primary;
    color: @color-primary;
  }
}
.fixed-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  border-top:1px solid #f5f5f5;
}
.v-middle{
  vertical-align: middle;
}
// jylist
.jylist {
  .des {
    word-break: break-all;
  }
  >li {
    border-bottom: 1px solid #f5f5f5;
    padding: 16px 10px;
    &:hover {
      background: #f5f5f5;
    }
  }
}
.select-role {
  .accoutlist {
    color: #fbc887;
    border: 1px solid #fbc887;
    padding: 1px 4px;
    border-radius: 4px;
    display: inline-block;
    margin-left: 10px;
    font-size: 12px;
  }
  padding:10px 10px;
  span {
    color:white;
  }
  .roleRight{
    img{
      margin-left:8px;
    }
  }
}

.mu-picker-item.selected{
  color: #00BA71;
}

.btn-bordered{
  padding: 10px;
  background: #fff;
  color: #33bb6f;
  border:1px solid #33bb6f;
  box-shadow: none;
}
// animates
.animate {
  transition: all .5s cubic-bezier(.55,0,.1,1);
}
.slide-left-enter, .slide-right-leave-active {
  opacity: 0;
  -webkit-transform: translate(30px, 0);
  transform: translate(30px, 0);
}
.slide-left-leave-active, .slide-right-enter {
  opacity: 0;
  -webkit-transform: translate(-30px, 0);
  transform: translate(-30px, 0);
}

.gray-filter{
  filter: grayscale(1);
}
.doctor-image{
  border-radius: 50%;
}